package org.dtrevien.metamodel.graphviz;

import org.dtrevien.metamodel.graphviz.visitor.Visitor;

public class Port {

	protected CompassPt compassPt;
	protected String name;
	
	/**
	 * 
	 */
	public Port() {
	}

	public Port(CompassPt compassPt, String name) {
		super();
		this.compassPt = compassPt;
		this.name = name;
	}

	public CompassPt getCompassPt() {
		return this.compassPt;
	}

	public void setCompassPt(CompassPt compassPt) {
		this.compassPt = compassPt;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void accept(Visitor v) {
		v.visitPort(this);
	}
	
}
